<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%
String path = request.getContextPath(); 
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@page import="com.beans.AdminInfo"%>
<!DOCTYPE html>
<html>
<head>
<base href="<%=basePath%>"> 
<meta charset="UTF-8">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">  
<title>Insert title here</title>
<style >
input {
	color: red;
	margin-top: 2px;
	margin-bottom: 2px;
}
</style>
<link rel="stylesheet" type="text/css" href="css/edittable.css"  ></link>  
<link rel="stylesheet" type="text/css" href="css/validate.css"  ></link>  
<script type="text/javascript"  src="js/jquery-1.8.0.js"></script>
</head>
<body>
<%AdminInfo admin=(AdminInfo)session.getAttribute("session_admin");
	request.setAttribute("admin",admin);%>
<div class ="div_title">
	 <div class="div_titlename"> <img src="images/san_jiao.gif" ><span>当前用户信息</span></div>
</div>
 <table class="edit_table" >
 		<tr>
 			 	<td class="td_info">用户账号:</td>	
 			 	<td class="td_input_short"> 
 			 		<input type="text" class="txtbox" 
						value="${admin.adminName}" disabled="disabled"
 			 		/> 
 			 	</td>   
 			 	<td>
 			 		<label class="validate_info" id="adminName_msg"></label>
 			 	</td> 
 		</tr>
 		<tr>
 				<td class="td_info">用户密码:</td>	
 				<td>
 					<input type="text"  class="txtbox"   value="*****不该显示用户密码" disabled="disabled"
 					 />
 				</td> 
 				<td><div id="pwddiv"><label class="validate_info" id="oldpassword_msg"></label></div></td>	
 		</tr>
 			<tr>
 				<td class="td_info">备注信息:</td>	
 				<td>
 					<input type="text"  class="txtbox"   value="${admin.roleName}" disabled="disabled"
 					/>
 				</td> 
 				<td><div id="pwddiv"><label class="validate_info" id="password_msg"></label></div></td>	
 		</tr>
 			<tr>
 				<td class="td_info">最后更新日期:</td>	
 				<td><input type="text" class="txtbox" 
 				value="<fmt:formatDate value="${admin.editDate}" type="both" pattern="yyyy-MM-dd HH:mm"/>" disabled="disabled"
 				/> 
 				</td>
 				<td><label  class="validate_info"  id="pwdconfirm_msg"></label></td>	
 		</tr>
</table>
</body>
</html>